﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_PERMISSION.cs
// 项目名称：Lovol 
// 创建时间：2011/10/8
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_PERMISSION数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_PERMISSION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_PERMISSION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_PERMISSION_Entity
    {
        #region 变量定义
        ///<summary>
        ///权限编号
        ///</summary>
        private long _pERMISSIONID;
        ///<summary>
        ///权限名称
        ///</summary>
        private string _pERMISSIONNAME = String.Empty;
        ///<summary>
        ///英文名称
        ///</summary>
        private string _eNGLISHNAME = String.Empty;
        ///<summary>
        ///权限代码
        ///</summary>
        private string _pERMISSIONCODE = String.Empty;
        ///<summary>
        ///页面类名
        ///</summary>
        private string _pAGECLASSNAME = String.Empty;
        ///<summary>
        ///命令名
        ///</summary>
        private string _cOMANDNAME = String.Empty;
        ///<summary>
        ///控件编号
        ///</summary>
        private string _cONTROLID = String.Empty;
        ///<summary>
        ///分类
        ///</summary>
        private string _tYPE = String.Empty;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///是不是中心
        ///</summary>
        private long? _iSCENTER = 0;
        ///<summary>
        ///是否需要确认
        ///</summary>
        private long _iSCONFIRM = 0;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_PERMISSION_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///权限编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_PERMISSION")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long PERMISSIONID
        {
            get { return _pERMISSIONID; }
            set { _pERMISSIONID = value; }

        }

        ///<summary>
        ///权限名称
        ///</summary>		
        public string PERMISSIONNAME
        {
            get { return _pERMISSIONNAME; }
            set
            {
                _pERMISSIONNAME = value;
            }

        }

        ///<summary>
        ///英文名称
        ///</summary>		
        public string ENGLISHNAME
        {
            get { return _eNGLISHNAME; }
            set
            {
                _eNGLISHNAME = value;
            }

        }

        ///<summary>
        ///权限代码
        ///</summary>		
        public string PERMISSIONCODE
        {
            get { return _pERMISSIONCODE; }
            set
            {
                _pERMISSIONCODE = value;
            }

        }

        ///<summary>
        ///页面类名
        ///</summary>		
        public string PAGECLASSNAME
        {
            get { return _pAGECLASSNAME; }
            set
            {
                _pAGECLASSNAME = value;
            }

        }

        ///<summary>
        ///命令名
        ///</summary>		
        public string COMANDNAME
        {
            get { return _cOMANDNAME; }
            set
            {
                _cOMANDNAME = value;
            }

        }

        ///<summary>
        ///控件编号
        ///</summary>		
        public string CONTROLID
        {
            get { return _cONTROLID; }
            set
            {
                _cONTROLID = value;
            }

        }

        ///<summary>
        ///分类
        ///</summary>		
        public string TYPE
        {
            get { return _tYPE; }
            set
            {
                _tYPE = value;
            }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///是不是中心
        ///</summary>		
        public long? ISCENTER
        {
            get { return _iSCENTER; }
            set { _iSCENTER = value; }

        }

        ///<summary>
        ///是否需要确认
        ///</summary>		
        public long ISCONFIRM
        {
            get { return _iSCONFIRM; }
            set { _iSCONFIRM = value; }

        }


        #endregion

    }
}
